Optimal. Leaf size=77 \[ \frac {1}{4} x^3 \sqrt [4]{a+b x^4}-\frac {a \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}}+\frac {a \tanh ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {285, 338, 304,
209, 212} \begin {gather*} -\frac {a \text {ArcTan}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}}+\frac {a \tanh ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}}+\frac {1}{4} x^3 \sqrt [4]{a+b x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 285
Rule 304
Rule 338
Rubi steps
\begin {align*} \int x^2 \sqrt [4]{a+b x^4} \, dx &=\frac {1}{4} x^3 \sqrt [4]{a+b x^4}+\frac {1}{4} a \int \frac {x^2}{\left (a+b x^4\right )^{3/4}} \, dx\\ &=\frac {1}{4} x^3 \sqrt [4]{a+b x^4}+\frac {1}{4} a \text {Subst}\left (\int \frac {x^2}{1-b x^4} \, dx,x,\frac {x}{\sqrt [4]{a+b x^4}}\right )\\ &=\frac {1}{4} x^3 \sqrt [4]{a+b x^4}+\frac {a \text {Subst}\left (\int \frac {1}{1-\sqrt {b} x^2} \, dx,x,\frac {x}{\sqrt [4]{a+b x^4}}\right )}{8 \sqrt {b}}-\frac {a \text {Subst}\left (\int \frac {1}{1+\sqrt {b} x^2} \, dx,x,\frac {x}{\sqrt [4]{a+b x^4}}\right )}{8 \sqrt {b}}\\ &=\frac {1}{4} x^3 \sqrt [4]{a+b x^4}-\frac {a \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}}+\frac {a \tanh ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 74, normalized size = 0.96 \begin {gather*} \frac {2 b^{3/4} x^3 \sqrt [4]{a+b x^4}-a \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )+a \tanh ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a+b x^4}}\right )}{8 b^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int x^{2} \left (b \,x^{4}+a \right )^{\frac {1}{4}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 101, normalized size = 1.31 \begin {gather*} \frac {a \arctan \left (\frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}}}{b^{\frac {1}{4}} x}\right )}{8 \, b^{\frac {3}{4}}} - \frac {a \log \left (-\frac {b^{\frac {1}{4}} - \frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}}}{x}}{b^{\frac {1}{4}} + \frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}}}{x}}\right )}{16 \, b^{\frac {3}{4}}} - \frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}} a}{4 \, {\left (b - \frac {b x^{4} + a}{x^{4}}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 191 vs.
\(2 (57) = 114\).
time = 0.38, size = 191, normalized size = 2.48 \begin {gather*} \frac {1}{4} \, {\left (b x^{4} + a\right )}^{\frac {1}{4}} x^{3} - \frac {1}{4} \, \left (\frac {a^{4}}{b^{3}}\right )^{\frac {1}{4}} \arctan \left (\frac {\left (\frac {a^{4}}{b^{3}}\right )^{\frac {3}{4}} b^{2} x \sqrt {\frac {\sqrt {\frac {a^{4}}{b^{3}}} b^{2} x^{2} + \sqrt {b x^{4} + a} a^{2}}{x^{2}}} - {\left (b x^{4} + a\right )}^{\frac {1}{4}} a \left (\frac {a^{4}}{b^{3}}\right )^{\frac {3}{4}} b^{2}}{a^{4} x}\right ) + \frac {1}{16} \, \left (\frac {a^{4}}{b^{3}}\right )^{\frac {1}{4}} \log \left (\frac {\left (\frac {a^{4}}{b^{3}}\right )^{\frac {1}{4}} b x + {\left (b x^{4} + a\right )}^{\frac {1}{4}} a}{x}\right ) - \frac {1}{16} \, \left (\frac {a^{4}}{b^{3}}\right )^{\frac {1}{4}} \log \left (-\frac {\left (\frac {a^{4}}{b^{3}}\right )^{\frac {1}{4}} b x - {\left (b x^{4} + a\right )}^{\frac {1}{4}} a}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.56, size = 39, normalized size = 0.51 \begin {gather*} \frac {\sqrt [4]{a} x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{4}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {b x^{4} e^{i \pi }}{a}} \right )}}{4 \Gamma \left (\frac {7}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,{\left (b\,x^4+a\right )}^{1/4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________